<?php defined('SYSPATH') or die('No direct script access.');
$ss						= Session::instance();
$thesystems		= Helper_theSystems::factory();
$language			= Helper_LanguageSupport::factory();
$myfunctions	= Helper_myFunctions::factory();
$display			= Helper_DisplayItems::factory();

// Memanggil page sendiri
$r = Request::current();
$action = URL::site($r->uri2());

$logstatus	=	$ss->get('logstatus');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>PT Jala Anugerah Sejati</title>

<meta name="description" content="Daily Fresh Mart POS" />
<meta name="copyright" content="&copy;Coyright Daily Fresh Mart POS" />
<meta name="robots" content="noindex,nofollow" />
<meta name="googlebot" content="noindex,nofollow" />

<?php echo HTML::style('assets/library/bootstrap/css/bootstrap.css')?>

<?php echo HTML::style('assets/library/bootstrap/css/bootstrap-responsive.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/chosen.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/uniform.default.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/colorbox.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/jquery.noty.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/noty_theme_default.css')?>
<?php echo HTML::style('assets/library/bootstrap/css/i-icons.css')?>

<?php echo HTML::style('assets/acc/inspiring_boffice_styles.css')?>

<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
	<?php //echo HTML::script('http://html5shim.googlecode.com/svn/trunk/html5.js')?>
<![endif]-->

<!--jQuery Assets -->
<?php echo HTML::script('assets/library/jquery.js') ?>
<?php echo HTML::script('assets/library/jquery.min.js') ?>

<!--DateTime Picker Assets -->
<?php echo HTML::style('assets/library/datetime/anytime.css')?>
<?php echo HTML::script('assets/library/datetime/anytime.js') ?>



<!--JQuerry Tree View Assets -->
<?php //echo HTML::style('assets/library/treeview/jquery.treeview.css')?>
<?php //echo HTML::script('assets/library/treeview/jquery.treeview.js')?>

<!--Bootstrap editable-->
<?php //echo HTML::style('assets/library/bootstrap-editable/css/bootstrap-editable.css')?>
<?php //echo HTML::script('assets/library/bootstrap-editable/js/bootstrap-editable.js')?>
<?php //echo HTML::script('assets/library/bootstrap-editable/js/bootstrap-editable.min.js')?>

<!--Inline edit-->
<?php //echo HTML::script('assets/library/inline_edit/jquery.jeditable.js')?>

<style type="text/css">
.headerTitleBold
{
	font-size: 16px;
	font-weight: bold;
}

.footerSpanMargin
{
	margin: 0px 10px 0px 0px;
	padding: 0px 0px 0px 0px;
}

footer p
{
	margin: 0;
	padding: 0;
}
</style>

</head>

<body>
	
	<?php if(!is_null($ss->get('logid')) && $logstatus != '900') { ?>
		<?php echo View::factory('module/mainmenu_pos')->render(); ?>
	<?php } ?>
	<section>
	  <div id="mainContent" style="margin: 0px 0px 30px 0px;"><?php echo Arr::get($content, 'content'); ?></div>
	</section>
	
	<div class="navbar navbar-fixed-bottom" style="background-color: #000; color: white;">
			<span class="footerSpanMargin pull-right">
			<p class="pull-right"><strong>PT. Jala Anugerah Sejati</strong></p>
			<p class="pull-right visible-desktop">Powered by&nbsp;&nbsp;</p>
			</span>
	</div>
	
<!--======================== external javascript ==========================-->

<!-- jQuery UI -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery-ui-1.8.21.custom.min.js')?>

<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-tab.js'); // Fixed ?>
<!-- transition / effect library -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-transition.js'); // Fixed ?>
<!-- alert enhancer library -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-alert.js'); // Fixed ?>
<!-- custom dropdown library -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-dropdown.js'); // Fixed ?>
<!-- button enhancer library -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-button.js'); // Fixed ?>
<!-- accordion library (optional, not used in demo) -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-collapse.js'); // Fixed ?>
<!-- autocomplete library -->
<?php echo HTML::script('assets/library/bootstrap/js/bootstrap-typeahead.js'); // Fixed ?>

<!--JQuery Cookie Library-->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.cookie.js')?>

<!-- chart libraries start -->
<?php //echo HTML::script('assets/library/bootstrap/js/excanvas.js')?>
<?php //echo HTML::script('assets/library/bootstrap/js/jquery.flot.min.js')?>
<?php //echo HTML::script('assets/library/bootstrap/js/jquery.flot.pie.min.js')?>
<?php //echo HTML::script('assets/library/bootstrap/js/jquery.flot.stack.js')?>
<?php //echo HTML::script('assets/library/bootstrap/js/jquery.flot.resize.min.js')?>
<!-- chart libraries end -->

<!-- select or dropdown enhancer -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.chosen.min.js')?>
<!-- checkbox, radio, and file input styler -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.uniform.min.js')?>
<!-- rich text editor library -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.cleditor.min.js')?>
<!-- notification plugin -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.noty.js')?>
<!-- autogrowing textarea plugin -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.autogrow-textarea.js')?>
<!-- history.js for cross-browser state change on ajax -->
<?php echo HTML::script('assets/library/bootstrap/js/jquery.history.js')?>

<!-- application script for Inspiring Apps -->
<?php echo HTML::script('assets/global/js/inspiring.js')?>

</body>
</html>
